package bavaria.hightech.testit.factorypattern.abstractfactory;

public class BerlinPizzeria extends Pizzaria {

	@Override
	Pizza erstellePizza(String element) {
		if(element.equals("Salami")){
			return new BerlinerSalamiPizza();
		}else if(element.equals("Schinken")){
			return new BerlinerSchinkenPizza();
		}else if(element.equals("Krabben")){
			return new BerlinerKrabbenPizza();
		}else if(element.equals("Thunfisch")){
			return new BerlinerThunfischPizza();
		}else return null;
	}

}
